
import 'package:test/scaffolding.dart';

void main() {
  test("匹配ipv4前三个字段", (){
    String ip = "127.0.0.1";
    final s = ip.split(".");
    final res = "${s[0]}.${s[1]}.${s[2]}";
    print(res);

  });

}
